// 1. 引入store生成器
import { createStore,applyMiddleware } from "redux"
//2. 引入reducer
import reducer from './reducers'
import reduxThunk from 'redux-thunk'
//3. 创建对外暴露store
export default createStore(reducer,applyMiddleware(reduxThunk))


